<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<%@ taglib uri="http://struts.apache.org/tags-html"  prefix="html"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>助学岗位修改</title>
    <link href="CSS/Accessible_Design.css" rel="stylesheet" type="text/css" />
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script type='text/javascript' src='date.js'> </script>
	
	
	
	 <script language=javascript>
		
	function onlyNum() 
	{ 
	if(!((event.keyCode>=48&&event.keyCode <=57)||(event.keyCode>=96&&event.keyCode <=105))) 
	//考虑小键盘上的数字键 
	event.returnvalue=false; 
	} 
	//<input onkeydown="onlyNum();">
	</script>
	

	
  </head>
  
  <body>
  <html:form action="parttimechange.do">
     <table width="636" border="1" cellspacing="0">
  <tr>
    <td colspan="4"><font color="#000066" size="+3" >助学岗位发布</font></td>
    </tr>
  <tr>
    <td width="90">用人单位 </td>
    <td width="217">
     <html:hidden  property="jobId" value="${jobId}"/>
    <html:text property="company" value="${company}"></html:text>
    <td width="105">联系人     </td>
    <td width="221">
     <html:text property="contactName" value="${contactName}"></html:text>
  </tr>
  <tr>
    <td>联系电话 </td>
    <td>
     <html:text property="contactPhone" value="${conPhone}"></html:text>
    <td>电子邮箱      </td>
    <td>
     <html:text property="contactEmail"  value="${emile}"></html:text>
  </tr>
  <tr>
    <td>岗位性质      </td>
    <td>
    
    <html:radio property="status" value="1"   ></html:radio>
	固定
  	<html:radio property="status" value="2"  ></html:radio>
	临时</td>
    <td>岗位数量</td>
    <td>
    <html:text property="number" value="${peopleNum}"></html:text>
	</td>
  </tr>
  <tr>
    <td colspan="2">岗位时间
      <html:text property="starTime" onfocus="HS_setDate(this);" value="${startTime}"></html:text></td>
    <td colspan="2">到
     <html:text property="endTime" onfocus="HS_setDate(this);" value="${endTime}"></html:text></td>
  </tr>
  <tr>
    <td colspan="4"><p>筹金
       <html:text property="salary"  onkeydown="onlyNum();" value="${salary}"></html:text>
    </p>      </td>
    </tr>
  <tr>
    <td colspan="2"><p>岗位工作内容 :</p>
      <p>
        <html:textarea property="content"  cols="40" rows="5" value="${content}"></html:textarea>
      </p></td>
    <td colspan="2"><p>备注 : 
      </p>
      <p>
       <html:textarea property="other"  cols="40" rows="5" value="${other}"></html:textarea>
        </p></td>
  </tr>
  <tr>
    <td colspan="4">
    <html:submit value="确定"></html:submit> </td>
    </tr>
</table>
<c:if test="${status eq 1}">checked</c:if>
	</html:form>
  </body>
</html>
